package com.iretailer.report.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.SendRegularly;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/5/30 10:46
 * @Description:
 */
public interface SendRegularlyMapper extends SuperMapper<SendRegularly> {

    IPage<SendRegularly> selectPageSendRegularly(Page page, @Param("ew") QueryWrapper queryWrapper);

    int updateMallNumber(@Param("id") Long sendRegularlyId, @Param("mallNumber") int mallNumber);

    List<SendRegularly> selectSendRegularly(@Param("ew") QueryWrapper queryWrapper);
}
